package com.cfswt.tasksystem.mapper;


import com.cfswt.tasksystem.pojo.entity.Contact;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Optional;

@Repository
public interface ContactsMapper {
    public void addContacts(Contact contact);

    public void addContactsByCustomId(Integer id, List<Contact> contactList);

    public void deleteContacts(Integer id);

    public void updateContacts(Contact contact);

    public List<Contact> selectContacts();

    public List<Contact> selectContactsByCompanyId(Integer companyId);

}
